package app.modules.account.dto.web;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * @author mh.z
 */
@Schema(title = "分配角色DTO")
public class WebAssignRoleDTO {
    @Schema(title = "用户ID")
    private Long userId;

    @Schema(title = "分配的角色ID列表")
    private List<Long> roleIds;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }
}
